package com.example.xsssglxt.service;

import com.example.xsssglxt.entity.Live;
import com.example.xsssglxt.entity.Louyu;
import com.example.xsssglxt.mapper.LiveMapper;
import com.example.xsssglxt.mapper.LouyuMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LiveService {
    @Autowired
    private LiveMapper liveMapper;
    public  int live(Live live){
        return liveMapper.insert(live);
    }
    public int live1(Live live){
        return liveMapper.update(live);

    }
}
